package com.example.cloud.alibaba.seata.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cloud.alibaba.seata.common.dto.OrderDTO;
import com.example.cloud.alibaba.seata.common.utils.SimpleMessage;
import com.example.cloud.alibaba.seata.order.entity.TOrder;

/**
 * <p>
 *  创建订单
 * </p>
 *
 * * @author lidong
 * @since 2019-09-04
 */
public interface ITOrderService extends IService<TOrder> {

    /**
     * 创建订单
     */
    SimpleMessage<OrderDTO> createOrder(OrderDTO orderDTO);

    /**
     * 微服务调用测试
     * @param path
     * @return
     */
    SimpleMessage testAccount(String path);
}
